package com.example.springcloudwinter.feign;

import com.example.springcloudwinter.dto.ResultEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
@FeignClient(name = "order-server")
public interface OrderFeignClient {
    @PostMapping("/OrderController/updatePoint")
    ResultEntity<?> updatePoint(@RequestParam("orderId")int orderId,@RequestParam("remainPoint")int remainPoint);
}




